package fr.umlv.m2.jee.pmlv.service.note;

import java.io.Serializable;

import fr.umlv.m2.jee.pmlv.persistence.note.UserThemeNote;
import fr.umlv.m2.jee.pmlv.persistence.subject.AbstractTheme;

@SuppressWarnings("serial")
public class DisplayUserThemeNote implements Serializable {
	private UserThemeNote note;
	
	public DisplayUserThemeNote(UserThemeNote note) {
		this.note = note;
	}
	
	public void setId(long id) {
		note.setId(id);
	}

	public long getId() {
		return note.getId();
	}

	public void setUid(String uid) {
		note.setUid(uid);
	}

	public String getUid() {
		return note.getUid();
	}

	public void setTheme(AbstractTheme theme) {
		note.setTheme(theme);
	}

	public AbstractTheme getTheme() {
		return note.getTheme();
	}

        public UserThemeNote getUserThemeNote() {
            return note;
        }

        public float getNote() {
            return note.getNote();
        }

        public void setNote(float n) {
            note.setNote(n);
        }
}
